package org.blackcat.dao;

import org.apache.ibatis.annotations.Param;
import org.blackcat.domain.BloodPressure;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 詹泽
 * @date 2017/2/23
 */
@Repository
public interface BloodPressureDao {

    Integer addBloodPressure(BloodPressure bloodPressure);

    List<BloodPressure> listBloodPressure(@Param("userId") String userId, @Param("minDate") String minDate, @Param("maxDate") String maxDate);
}
